package com.biz.primus.base.global;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.math.BigDecimal;

/**
 * 全局参数引用
 * @author yanweijin
 * @date 2017/11/18
 */
@Getter
@AllArgsConstructor
public enum GlobalValue {

	/**
	 * @see GlobalParams#getMemberId()
	 */
	memberId(Long.class),

	/**
	 * @see GlobalParams#getLat()
	 */
	lat(BigDecimal.class),

	/**
	 * @see GlobalParams#getAddressLat()
	 */
	addressLat(BigDecimal.class),

	/**
	 * @see GlobalParams#getLon()
	 */
	lon(BigDecimal.class),

	/**
	 * @see GlobalParams#getAddressLon()
	 */
	addressLon(BigDecimal.class),

	/**
	 * @see GlobalParams#getDepotId()
	 */
	depotId(Long.class),

	/**
	 * @see GlobalParams#getDepotCode()
	 */
	depotCode(String.class),

	/**
	 * @see GlobalParams#getCityId()
	 */
	cityId(Long.class),

	/**
	 * @see GlobalParams#getProvinceId()
	 */
	provinceId(Long.class),
	/*
	 * 直接引用公参对象
	 * @see GlobalParams
	 */
	globalParams(GlobalParams.class)

	;

	Class fieldType;

}
